home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / DNet / DGoPrefs.h < prev    next >
Encoding:
Text File  |  1996-07-05  |  1.3 KB  |  71 lines  |  [TEXT/R*ch]

  1. // DGopherPrefs.h
  2. // d.g.gilbert
  3.  
  4.  
  5. #ifndef _DGOPHERPREFS_
  6. #define _DGOPHERPREFS_
  7.  
  8.  
  9. #include <DWindow.h>
  10.  
  11. class    DMenu;
  12. class DCluster;
  13.  
  14.  
  15. class DGoviewPrefs : public DWindow 
  16. {
  17. public:
  18.     DCluster     * fItemGroup;
  19.     DCluster     * fTextGroup;
  20.     DMenu            * fGoFontMenu;
  21.     DMenu            * fTextFontMenu;
  22.     Boolean             fNeedSave;
  23.     
  24.     DGoviewPrefs();
  25.     virtual ~DGoviewPrefs();
  26.     static void InitGlobals();
  27.     static void SaveGlobals();
  28.     virtual void Initialize();
  29.     virtual void Open();
  30.     virtual void OkayAction();
  31.     virtual Boolean IsMyAction(DTaskMaster* action); 
  32. };
  33.  
  34.  
  35. class DGoOtherPrefs : public DWindow 
  36. {
  37. public:
  38.     DCluster * fPlusGroup;
  39.     DCluster * fMiscGroup;
  40.     DCluster * fMapGroup;
  41.     DCluster * fStartGroup;
  42.     DCluster * fNetGroup;
  43.     Boolean          fNeedSave;
  44.     DCluster * fClickerGroup;
  45.     
  46.     DGoOtherPrefs();
  47.     virtual ~DGoOtherPrefs();
  48.     static void InitGlobals();
  49.     static void SaveGlobals();
  50.     virtual void Initialize();
  51.     virtual void Open();
  52.     virtual void OkayAction();
  53.     virtual Boolean IsMyAction(DTaskMaster* action); 
  54. };
  55.  
  56.         
  57.         
  58. extern DGoviewPrefs* gGoviewPrefs;
  59. extern DGoOtherPrefs* gGoOtherPrefs;
  60.  
  61. extern    Boolean gShowKind, gShowPath, gShowHost, gShowPort, 
  62.                 gShowDate, gShowSize, gShowPlus, gShowAdmin,
  63.                 gShowURL, gShowAbstract, gShowExtras,
  64.                 gAllowLinkEdits, gWantFonts, gSameWindow;
  65.  
  66. extern Nlm_FonT gGoviewFont;
  67. extern short  gGoviewFontSize;
  68. extern char    *gGoviewFontName;
  69.  
  70. #endif
  71.